package com.huowenjie.controller;

import com.huowenjie.api.TestApi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class Cli02 {

    @Autowired
    public TestApi testApi;

    @RequestMapping("test2")
    public String test2(){
        String s = testApi.test1();
        return s;
    }

}
